package com.lytoyo.neihanduanzi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lytoyo.neihanduanzi.model.Result;
import com.lytoyo.neihanduanzi.model.dto.StatusDto;
import com.lytoyo.neihanduanzi.model.user.UserInfo;

import java.util.Map;

/**
 * Package:com.lytoyo.neihanduanzi.service
 *
 * @ClassName:UserService
 * @Create:2025/1/9 19:31
 **/
public interface UserService extends IService<UserInfo> {
    /**
     * 获取验证码
     *
     * @param email
     */
    void getVerCode(String email);

    /**
     * 获取验证码
     *
     * @param userInfo
     * @param code
     * @return
     */
    Result regist(UserInfo userInfo, String code);

    /**
     * 获取用户粉丝、点赞、关注数量
     * @param userId
     * @return
     */
    Map<String, Object> requestStatus(Long userId);

    /**
     * 获取目标的详细信息
     * @param userId
     * @return
     */
    Result otherImfor(Long userId);

}
